﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PACKETPARSERMAX20.CORE
{
    public class MovementInfo
    {

        public ulong guid;
        public OBJECT_UPDATE_FLAGS updateFlags;
        public MovementFlags? movementFlags;
        public UInt32 timeStamp;
        public MovementFlags2? movementFlags2;
        public UInt32 unknown3;
        public Coord4 positionInfo;
        public Coord4 positionInfo_0x40;
        public UInt32 starttime;

        public MovementTransport transportInfo;
        public MovementJump jumpInfo;
        public MovementFall fallInfo;
        public SplineInfo splineInfo;
        public SortedList<string, float> speeds;

        public float swimPitch;
        public UInt32 fallTime;
        public float splineelevation;
        public Int32 lowGuid;
        public Int32 highGuid;
        public UInt64 fullGuid;
        public UInt32 transportTime;
        public Int32 vehicleId;
        public float facingAdjustement;
        public Int64 rotationGuid;

        public UInt64 guid_0x100;
        public Coord3 positionInfo_0x100;
        public Coord4 positionInfo_0x100_2;
        public float unkf_0x100;

        public MovementInfo()
        {
            positionInfo = new Coord4();
            positionInfo_0x40 = new Coord4();
            positionInfo_0x100 = new Coord3();
            positionInfo_0x100_2 = new Coord4();

            transportInfo = new MovementTransport();
            jumpInfo = new MovementJump();
            fallInfo = new MovementFall();
            splineInfo = new SplineInfo();
        }
    }
}
